<?php
//已出售状态
class SoldOut implements State {
    private $game;
    public function __construct(Game $game)
    {
        $this->game = $game;
    }
    public function insertMoney($money){
        $this->game->setState($this->game->getNoMoneyState());
    }
    public function turn() {
        echo "请投币";
    }
    public function get() {
        echo "请投币";

    }
    public function reject(){
        echo "请投币";

    }
}